import {
  RedisBasicsConfig,
  RedisCommandArgument,
  useSetRedisValue,
} from "../useRedis";

interface CarInfo {
  
  fdjh: string;
  
  hphm: string;
  
  hpzl: string;
}

/**
 * 设置redis任务队列
 */
export function useSetTask(id: string, taskArgs: CarInfo) {
  useSetRedisValue(id, taskArgs, RedisBasicsConfig.taskDataBase);
}
